finding the reciprocal of a whole number